package web.weibo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import web.weibo.model.Message;

import java.util.ArrayList;

@Mapper
@Repository
public interface MapperMessage {
    ArrayList<Message> messages(int user_id);

    void messagesGet(int user_id, String content);

    void messagesPost(int user_id, String content);
}
